<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/9/8 0008
 * Time: 下午 10:28
 */

namespace Admin\Model;
use Think\Model\ViewModel;

class TreestructViewModel extends ViewModel{
    public $viewFields = array(
        'treestruct'=>array('id','pid','lvl'),
        'treemember'=>array('name','tel','pernumber','_on'=>'treestruct.id=treemember.id')
    );
}